package com.gongj.secuitydb.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SecurityController {

    @GetMapping("/he")
    public String he() {
        return "hello  Security";
    }

    @GetMapping("/admin/he")
    public String admin() {
        return "hello  admin";
    }


    @GetMapping("/dba/he")
    public String dba() {
        return "hello  db";
    }

    @GetMapping("/user/he")
    public String user() {
        return "hello  user";
    }
}
